test: unset TZ before timezone-sensitive unit tests are run
authorLuca Boccassi <bluca@debian.org>
Fri, 26 Jan 2024 00:22:38 +0000 (00:22 +0000)
committerLuca Boccassi <bluca@debian.org>
Mon, 29 Jan 2024 10:46:19 +0000 (10:46 +0000)
commite0a1db58b428cfc72fe9ec3f5b833b2a40e5f0ee
treed7d2264c018d1125af196630a548d37af07bf41e
parent343e00aa743c32d0ac3d2948728a3f0b8b43791c
test: unset TZ before timezone-sensitive unit tests are run

Some tests have hard-coded results that need to match, and change if
the caller has a timezone set via the TZ= environment variable, as it
is the case during reproducible build tests. Unset it.

Gbp-Pq: Name test-unset-TZ-before-timezone-sensitive-unit-tests-are-ru.patch
src/test/test-calendarspec.c
src/test/test-date.c
src/test/test-time-util.c